import ajax from './axios'

export const getIndexData = params => {
    return ajax.get('/GetReadPictureDetailById', {params})
}

export const getBookSound = params => {
    return ajax.get('/GetInnerBookBySoundId', {params})
}

export const getBookPicture = params => {
    return ajax.get('/GetInnerBookByPictureBookId', {params})
}

export const getProvince = () => {
    return ajax.get('/GetProvince')
}

export const getProvinceByCity = params => {
    return ajax.get('/GetCityByProvinceId', {params})
}

export const getInsititution = params => {
    return ajax.get('/GetInsititutionInfo', {params})
}

export const sendCode = params => {
    return ajax.get('/SendVerifyCode', {params})
}

export const receiveCourse = params => {
    return ajax.post('/AddCustomerCollection', params)
}